package me.wangshier.jms.taco.localcache;

/**
 * @Author: tongqianwen
 * @Date: 2024/12/20
 */
public interface LocalCache<V> {
    boolean put(String key, V value);

    boolean put(String key, V value, int seconds);

    boolean isContainKey(String key);

    V get(String key);

    void remove(String key);
    // 关闭线程池
    void shutdownNow();
}
